﻿using System;

namespace enyo
{
    /// <summary>
    /// A simple container with a label specified by the label property.
    /// By default, layoutKind is set to HFlexBox, and thus the label is displayed to the left of the container's content.
    /// Change layoutKind to VFlexBox to place the label above the content.
    /// The label will fill any space not taken up by the content.
    /// NOTE: If additional control over the styling of the label or container content is required, use separate controls instead of a LabeledContainer.
    /// </summary>
    public class LabeledContainer : HFlexBox
    {
        public string Label { get; set; }
    }
}
